#ifndef DATASOURCEAGENT_H
#define DATASOURCEAGENT_H
#include <QString>
#include <QPair>
#include "data.h"

namespace IAlib
{


class IA_LIBSHARED_EXPORT DataSourceAgent
{
public:
    DataSourceAgent();

    void setId(const QString& id) { m_id = id; }
    QString getId() const { return m_id; }

    QStringList getDataList();

    QString getData(const QString& data_name) const;

    void exe();  /**< Execute le comportement de l'agent */
private:

    QString m_id;
    QList< IAlib::Data * > m_data;
};

}
#endif // DATASOURCEAGENT_H
